package sky.dao;

import sky.domain.Airport;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: Gauss
 * Date: 23.04.13
 * Time: 10:26
 * To change this template use File | Settings | File Templates.
 */
public interface AirportDAO {
    public void addAirport(Airport airport);

    public List<Airport> listAirport();

    public void removeAirport(Integer id);

    public Airport getAirportById(Integer id);

    public Airport getAirportByName(String name);

    public void editAirport(Airport airport);
}
